package com.peng.order.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.peng.order.pojo.po.ChargingBillSuccessPO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

//org.mapstruct.Mapper; 不对
//org.apache.ibatis.annotations.Mapper; 用这个
@Mapper
//@Repository
public interface OrderSuccessMapper extends BaseMapper<ChargingBillSuccessPO> {

    @Insert("insert into xx values ")
    void insertOrder();

    @Select("select count(1) from config_info")
    Integer getConfigInfo();

}
